﻿<%@ Page Language="C#" EnableViewState="false" AutoEventWireup="true" CodeBehind="List.aspx.cs"
    Inherits="Forum.Web.Admin.Recommend.List" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            color: #999;
        }
        body
        {
            font-size: 12px;
            line-height: 20px;
        }
        #div1
        {
            height: 400px;
            width: 300px;
            overflow: auto;
        }
        .le
        {
            padding-left: 20px;
        }
        a:link
        {
            color: #333333;
            text-decoration: none;
        }
        a:visited
        {
            text-decoration: none;
            color: #333333;
        }
        a:hover
        {
            text-decoration: underline;
            color: #333333;
        }
        a:active
        {
            text-decoration: none;
            color: #333333;
        }
    </style>
</head>
<body class="ContentBody" style="line-height: 20px">
    <form id="form1" runat="server">
    <div class="MainDiv">
        <asp:TreeView ID="TreeView1" runat="server" ShowLines="True" ExpandDepth="2" OnTreeNodePopulate="TreeView1_TreeNodeExpanded"
            EnableViewState="False">
        </asp:TreeView>
    </div>
    </form>
<script type="text/javascript" language="javascript">
          function add_data(b) {
              window.parent.add_data(b);
          }

          function edit_data(id_) {
              window.parent.edit_data(id_);
          }

          function del_data(ids) {
              var msg = window.confirm('您确定在删除这一项吗？');
              if (msg) {
                  var rtxt = Forum.Web.Admin.Recommend.List.del_lm(ids).value;
                  if (rtxt != '1') {
                      alert('操作失败！');
                  }
                  else {
                      //alert('修改成功！');
                      window.location.reload();
                  }
              }
          }
</script>

</body>
</html>
